package com.zwps.biz.domain.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zwps.biz.api.model.vo.strsvrr.RadarDataVO;
import com.zwps.biz.dal.db.dao.PrecipitationRadarDataDAO;
import com.zwps.biz.dal.db.dao.PubPointAllDAO;
import com.zwps.biz.dal.db.object.PrecipitationRadarDataDO;
import com.zwps.biz.domain.service.PrecipitationRadarDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
@DS("one")
public class PrecipitationRadarDataServiceImpl extends ServiceImpl<PrecipitationRadarDataDAO, PrecipitationRadarDataDO>
        implements PrecipitationRadarDataService {
    @Autowired
    PubPointAllDAO pubPointAllDAO;
    @Autowired
    PrecipitationRadarDataDAO precipitationRadarDataDAO;
    @Override
    public List<RadarDataVO> getDate() {
        return  pubPointAllDAO.getDate();
    }
}
